package com.bw.service.impl;

import com.bw.dao.WeekDao;
import com.bw.entity.Week;
import com.bw.service.WeekService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by qpx on 2017/8/31.
 */
@Service("weekService")
public class WeekServiceImpl implements WeekService {


    @Autowired
    WeekDao weekDao;
    public int deleteByPrimaryKey(Integer id) {
        return weekDao.deleteByPrimaryKey(id);
    }

    public int insert(Week record) {
        return 0;
    }

    public int insertSelective(Week record) {
        return 0;
    }

    public Week selectByPrimaryKey(Integer id) {
        return null;
    }

    public int updateByPrimaryKeySelective(Week record) {
        return 0;
    }

    public int updateByPrimaryKey(Week record) {
        return 0;
    }

    public List<Week> selectByAll() {
        return weekDao.selectByAll();
    }

    public List<Week> selectByWeek(Week we) {
        return null;
    }
}
